package com.sinosig.slbi.gm;

import java.security.PrivateKey;
import java.security.PublicKey;

/**
 * @author wangjianliang  2022/3/24 13:39
 * @ClassName: SM2
 */
public class SM2 {


    private String pubKey;
    private String priKey;
    private PublicKey publicKey;
    private PrivateKey privateKey;

    public static SM2 Instance() {
        return new SM2();
    }

    private SM2() {


    }

    public String getPubKey() {
        return pubKey;
    }

    public void setPubKey(String pubKey) {
        this.pubKey = pubKey;
    }

    public String getPriKey() {
        return priKey;
    }

    public void setPriKey(String priKey) {
        this.priKey = priKey;
    }

    public PublicKey getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(PublicKey publicKey) {
        this.publicKey = publicKey;
    }

    public PrivateKey getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(PrivateKey privateKey) {
        this.privateKey = privateKey;
    }
}
